package org.cargloss.cp.controller;

import java.util.Map;

import com.opensymphony.xwork2.ActionContext;

public class ApplicationSetting {

	private Map<String, String> setting;

	public ApplicationSetting() {
		@SuppressWarnings("unchecked")
		Map<String, String> app = (Map<String, String>) ActionContext
				.getContext().get("application");
		app.put("rootPath", "/cargloss");
		app.put("jsPath", "/cargloss/frontend/js/");
		app.put("cssPath", "/cargloss/frontend/css/");
		app.put("imgPath", "/cargloss/frontend/img/");
		setting = app;
	}

	public Map<String, String> getSetting() {
		return setting;
	}

	public void setSetting(Map<String, String> setting) {
		this.setting = setting;
	}

	
}
